package guda.house.dal.dao;

import guda.house.dal.dataobject.BillPayDO;
import guda.grape.autogen.common.page.BaseQuery;

import java.util.Date;
import java.util.List;

public interface BillPayDAO {


    Long insert(BillPayDO billPay);


    BillPayDO getBillPayById(Long payId);


    boolean delBillPayById(Long payId);

    List<BillPayDO> getBillPayByIds(List idsList);

    /**
     * 清空测试用例加入的autoincrement
     */
    void cleanAutoIncrement(Long payId);

    List<BillPayDO> selectForPage(BaseQuery baseQuery);

    int countForPage(BaseQuery baseQuery);

    void updateByIdSelective(BillPayDO billPay);

    List<BillPayDO> selectForPayedLog(BaseQuery baseQuery);

    int countForPayedLog(BaseQuery baseQuery);

    List<BillPayDO> statPay(List<Long> suitIdList,String gmtStart,String gmtEnd);

    List<BillPayDO> getByInvoiceId(long invoiceId);

}
